﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClassLibrary.Data;
using System.Data;

namespace ClassLibrary.DAO
{
    public class TblTypeDAO
    {
         private DBService _db = null;

         public TblTypeDAO(String connectionString)
          {
              _db = new DBService(connectionString);
          }

         public DataTable GetAllType()
         {
             DataTable dt = null;
             dt = _db.ExeSP_DataTable("select * from TblType", false, CommandType.Text);

             return dt;
         }
    }
}
